// 引入封装好的request
import request  from "@/utils/request";
// 获取所有轮播图
export const getSwipersApi = (data)=>{
    return request({
        url:'/upload/getswipers',
        method:'POST',
        data
    })
}
// 删除轮播图
export const delSwipersApi = (data)=>{
    return request({
        url:'/upload/delswiperupload',
        method:'POST',
        data
    })
}
// 确认上传
export const sureAddSwiper = (data)=>{
    return request({
        url:'/upload/sureaddswiper',
        method:'POST',
        data
    })
}



